package com.macro.mall.service;

import com.macro.mall.dto.PmsProductQueryParam;
import com.macro.mall.model.request.ProductBatchGetRequest;
import com.macro.mall.model.request.ProductGetRequest;
import com.macro.mall.model.request.SkuBatchOfflineRequest;
import com.macro.mall.model.request.SkuBatchOnlineRequest;
import com.macro.mall.model.response.ProductBatchGetResponse;
import com.macro.mall.model.response.ProductGetResponse;
import com.macro.mall.model.response.SkuBatchOnlineResponse;

import java.util.List;

public interface XhsProductService {


    ProductBatchGetResponse batchGetProducts(PmsProductQueryParam productQueryParam, Integer pageSize, Integer pageNum);




    //批量上架
    SkuBatchOnlineResponse batchOnlineSkus(SkuBatchOnlineRequest request);


    // 批量下架
    SkuBatchOnlineResponse batchOfflineSkus(SkuBatchOfflineRequest request);

    // 上下架商品
    void updateSXHGoods(List<Long> ids, Integer status);


    /**
     * 查询商品详情
     * @param request
     * @return
     */
    ProductGetResponse getProduct(ProductGetRequest request);
}
